/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1interfacedemo;

/**
 *
 * @author apple
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Computer computer1=new Computer();
        MobileStore mobileStore1=new MobileStore("金士顿");
        Printer printer1=new Printer("惠普");
        
        computer1.workby(mobileStore1);
        computer1.workby(printer1);
        computer1.turnOn(printer1);
    }
    
}
